]> dgit.raspbian.org Git - gnome-shell.git/commit
Make sure we only emit 'destroy' for a notification once
authorMarina Zhurakhinskaya <marinaz@redhat.com>
Sun, 30 Jan 2011 23:33:49 +0000 (18:33 -0500)
committerMarina Zhurakhinskaya <marinaz@redhat.com>
Sun, 30 Jan 2011 23:53:19 +0000 (18:53 -0500)
commit7369ea61254ecf3de82a251a77eeb0b6ac57527e
treefc66b595c4f7fc6e744d9334076b565fe951264e
parent20b7d3457746633cfff36535c046763b1001d5ea
Make sure we only emit 'destroy' for a notification once

There are multiple code passes that can result in Notification::destroy()
being called, such as a notification being closed by the application
when it exits and the associated source being removed at the same time.
However, we should only emit 'destroy' for the notification and
do the associated work once.
js/ui/messageTray.js